<%@ page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE HTML>
<html>
<head>
    <title>Page Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <sx:head/>
</head>
<s:url id="url" namespace="/" action="dologin"/>
<body>
<s:form method="post" theme="xhtml" namespace="/" action="dologin" id="form">
    <s:textfield label="用户名" name="userName"/>
    <s:password label="密码" name="password"/>
    <sx:submit validate="true" label="登陆" targets="form"/>
</s:form>
</body>
</html>